package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 老年服务订单对象 old_people_order
 *
 * @author ruoyi
 * @date 2021-07-09
 */
public class OldPeopleOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long oId;

    /** 类型id */
    @Excel(name = "类型id")
    private Long oType;
    private String tName;

    /** 服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "服务时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date oTime;

    /** 备注 */
    @Excel(name = "备注")
    private String oRemarks;

    /** 价格 */
    @Excel(name = "价格")
    private Long oMoney;

    /** 进行中/完成/取消/ */
    @Excel(name = "进行中/完成/取消/")
    private String oState;

    /** 取消原因/完成评语 */
    @Excel(name = "取消原因/完成评语")
    private String oComment;

    /** 服务地址 */
    @Excel(name = "服务地址")
    private String oAddarss;

    /** 发起人 */
    @Excel(name = "发起人")
    private Long publicuserId;
    private String  UserName;

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public void setoId(Long oId)
    {
        this.oId = oId;
    }

    public Long getoId()
    {
        return oId;
    }
    public void setoType(Long oType)
    {
        this.oType = oType;
    }

    public Long getoType()
    {
        return oType;
    }
    public void setoTime(Date oTime)
    {
        this.oTime = oTime;
    }

    public Date getoTime()
    {
        return oTime;
    }
    public void setoRemarks(String oRemarks)
    {
        this.oRemarks = oRemarks;
    }

    public String getoRemarks()
    {
        return oRemarks;
    }
    public void setoMoney(Long oMoney)
    {
        this.oMoney = oMoney;
    }

    public Long getoMoney()
    {
        return oMoney;
    }
    public void setoState(String oState)
    {
        this.oState = oState;
    }

    public String  gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String getoState()
    {
        return oState;
    }
    public void setoComment(String oComment)
    {
        this.oComment = oComment;
    }

    public String getoComment()
    {
        return oComment;
    }
    public void setoAddarss(String oAddarss)
    {
        this.oAddarss = oAddarss;
    }

    public String getoAddarss()
    {
        return oAddarss;
    }
    public void setPublicuserId(Long publicuserId)
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId()
    {
        return publicuserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("oId", getoId())
                .append("oType", getoType())
                .append("oTime", getoTime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("oRemarks", getoRemarks())
                .append("oMoney", getoMoney())
                .append("oState", getoState())
                .append("oComment", getoComment())
                .append("oAddarss", getoAddarss())
                .append("publicuserId", getPublicuserId())
                .toString();
    }
}